/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.tnmk.worktime.gui.tbl;

import java.awt.event.MouseListener;
import org.apache.log4j.Logger;

/**
 *
 * @author tnmkhoi
 */
public class ImgEditDeleteCell extends ImgBaseCell<ImgEditDeletePanel, ImgEditDeletePanel> {

  private static final Logger log = Logger.getLogger(ImgEditDeleteCell.class);

  public ImgEditDeleteCell() {
    super.editorComp = new ImgEditDeletePanel();
    super.rendererComp = new ImgEditDeletePanel();
  }

  public void addEditListener(MouseListener actionListener) {
    editorComp.jcompEdit.addMouseListener(actionListener);
  }

  public void addDeleteListener(MouseListener actionListener) {
    editorComp.jcompDelete.addMouseListener(actionListener);
  }
}
